import request from'@/utils/request.js'
//登录
export const userLogin=(model)=>{

}
//获取项目列表
export const getSportsPage=(model)=>{
    return request.post("/sportsYear/getProject",model)
}
//报名项目
export const SprotsApply=(model)=>{
    return request.post("/sportApply/insertSportsApply",model)
}
//获取成绩分页
export const getPageService=(model)=>{
    return request.post("/SportsScore/selectSportsScore",model)
}
//导出excel
export const exportPageService=(model)=>{
    return request({
        responseType: 'blob', // 重点，responseType设置为 blob
        url:'/SportsScore/export',
        method: 'post',
        data:model
    });
}
//获取申请表分页
export const getApplyPageService=(model)=>{
    return request.post("/sportApply/getMySportsApply",model)
}